package org.btik.light.server.platform.common.api.service;

import org.btik.light.server.platform.common.api.bean.sensitive.DhPublicKey;
import org.btik.light.tool.DhUtil;


/**
 * @author lustre
 * @since 2023/6/7 10:51
 */
public interface SensitiveDataService {

    DhPublicKey exchangeRequest();

    DhUtil.DhKeyPair generateKeyPair() ;

    byte[] exchangeFinal(String publicKey,String exchangeSessionId);

    byte[] exchangeFinal(String publicKey, DhUtil.DhKeyPair dhKeyPair);
}
